package com.example.springbootwebfluxdemo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.springbootwebfluxdemo.pojo.Hook;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
* @author 78500
* @description 针对表【hook】的数据库操作Mapper
* @createDate 2022-09-13 09:27:30
* @Entity com.dwj.fishing.pojo.Hook
*/
public interface HookMapper extends BaseMapper<Hook> {

    @Select("update hook set name =#{name} where id=#{id}")
    Boolean updateNameById(@Param("id") Integer id, @Param("name") String name);
}




